package com.atguigu.java.ai.langchain4j.assistant;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.V;
import dev.langchain4j.service.spring.AiService;
import dev.langchain4j.service.spring.AiServiceWiringMode;

@AiService(wiringMode = AiServiceWiringMode.EXPLICIT,chatModel = "qwenChatModel",chatMemoryProvider = "messageChatMemoryProvider")
public interface SeparateChatAssistant {
    @SystemMessage(fromResource = "my-prompt-template3.txt")
    public String chat(@MemoryId int id, @UserMessage String UserMessage, @V("username") String username, @V("age") int age,@V("job")String  job,@V("women") String  women);
}
